import Layout from "@/layout"

const setupRouter = {
  path: "/setup",
  component: Layout,
  alwaysShow: true,
  name: "基础设置维护",
  redirect: "/setup/region",
  meta: {
    title: "基础设置维护",
    icon: "setup"
  },
  children: [
    {
      path: "region",
      component: () => import("@/views/setup/region/"),
      name: "行政区划设置",
      meta: {
        title: "行政区划设置",
        icon: "region"
      }
    },
    {
      path: "region-all",
      component: () => import("@/views/setup/regionAll/"),
      name: "全国区划设置",
      meta: {
        title: "全国区划设置",
        icon: "region"
      }
    },
    {
      path: "standard-department",
      component: () => import("@/views/setup/standard-department/index.vue"),
      name: "标准科室管理",
      meta: {
        title: "标准科室管理",
        icon: "shezhi"
      }
    },
    {
      path: "department",
      component: () => import("@/views/setup/department/index.vue"),
      name: "科室管理",
      meta: {
        title: "科室管理",
        icon: "shezhi"
      }
    },
    {
      path: "doctors-setup",
      component: () => import("@/views/setup/doctors-setup/index.vue"),
      name: "医护人员设置",
      meta: {
        title: "医护人员设置",
        icon: "shezhi"
      }
    },
    {
      path: "dictionary",
      component: () => import("@/views/setup/dictionary/index.vue"),
      name: "字典类别设置",
      meta: {
        title: "字典类别设置",
        icon: "shezhi"
      }
    },
    {
      path: "dictionary-set",
      component: () => import("@/views/setup/dictionary-set/index.vue"),
      name: "字典设置",
      meta: {
        title: "字典设置",
        icon: "shezhi"
      }
    }
  ]
}
export default setupRouter
